﻿using Artech.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace Artech.Core
{
    [DataContract(Namespace = Constants.Namespaces.DataContract, IsReference = true)]
    public abstract class StatefulEntry: IAuditableEntry
    {
        public StatefulEntry()
        {
            this.AuditInfo = new AuditInfo();
        }

        public object Parent { get; set; }
        [DataMember]
        public EntryState State { get; set; }
        [DataMember]
        public AuditInfo AuditInfo { get; set; }
    }
}
